package com.pojo.Entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Roles implements Serializable {
   private Integer rID;
   private String rName;
   @DateTimeFormat(pattern="yyyy-MM-dd")
   @JsonFormat(pattern="yyyy-MM-dd")
   private Date rBirthday;
   private String rIdcart   ;
   private String rCollege  ;
   private String rPhone1   ;
   private String rPhone2   ;
   private String rLocation ;
   private String rClass    ;
   private String rStuid    ;
   private String rHeadSculpture;
   private String rJobNumber;
}
